
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module uprgae</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>uprgae</strong></big></big> (version 0.6)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/eocasio/proyectos/gae/0.6/0.6/uprgae.py">/home/eocasio/proyectos/gae/0.6/0.6/uprgae.py</a></font></td></tr></table>
    <p><tt>Module&nbsp;to&nbsp;ease&nbsp;management&nbsp;of&nbsp;domains&nbsp;under&nbsp;Google&nbsp;Apps&nbsp;for&nbsp;Education&nbsp;(GAE).</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="gdata.html">gdata</a><br>
<a href="getpass.html">getpass</a><br>
</td><td width="25%" valign=top><a href="gettext.html">gettext</a><br>
<a href="reporting.html">reporting</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="uprgae.html#Error">Error</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Error">class <strong>Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="uprgae.html#Error">Error</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object at 0xb7efc920&gt;<dd><tt>T.<a href="#Error-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<hr>
Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>

<dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
&nbsp;<br>
Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>

<dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>

<dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>

<dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>

<hr>
Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
</dl>
<dl><dt><strong>args</strong></dt>
</dl>
<dl><dt><strong>message</strong></dt>
<dd><tt>exception&nbsp;message</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-about"><strong>about</strong></a>()</dt><dd><tt>Shows&nbsp;uprgae&nbsp;module&nbsp;information.</tt></dd></dl>
 <dl><dt><a name="-addtolist"><strong>addtolist</strong></a>(user_name, list_name)</dt><dd><tt>Adds&nbsp;&nbsp;specified&nbsp;user&nbsp;to&nbsp;list&nbsp;list_name.</tt></dd></dl>
 <dl><dt><a name="-addtolistf"><strong>addtolistf</strong></a>(filename, list_name)</dt><dd><tt>Adds&nbsp;members&nbsp;to&nbsp;list_name&nbsp;from&nbsp;a&nbsp;file.<br>
&nbsp;<br>
Adds&nbsp;users&nbsp;from&nbsp;specified&nbsp;file&nbsp;as&nbsp;members&nbsp;of&nbsp;a&nbsp;list.&nbsp;The&nbsp;file&nbsp;should<br>
contain&nbsp;COMPLETE&nbsp;EMAIL&nbsp;addresses,&nbsp;one&nbsp;per&nbsp;line:<br>
&nbsp;<br>
fulano.sutano@gmail.com<br>
prensejo.merlejo@gae.cayey.upr.edu</tt></dd></dl>
 <dl><dt><a name="-chpass"><strong>chpass</strong></a>(user_name)</dt><dd><tt>Changes&nbsp;user&nbsp;password.</tt></dd></dl>
 <dl><dt><a name="-commands"><strong>commands</strong></a>()</dt><dd><tt>Retrieves&nbsp;a&nbsp;list&nbsp;of&nbsp;currently&nbsp;supported&nbsp;commands.</tt></dd></dl>
 <dl><dt><a name="-create"><strong>create</strong></a>()</dt><dd><tt>Creates&nbsp;a&nbsp;new&nbsp;user.</tt></dd></dl>
 <dl><dt><a name="-createf"><strong>createf</strong></a>(filename, listonly<font color="#909090">=False</font>)</dt><dd><tt>Create&nbsp;users&nbsp;from&nbsp;a&nbsp;file.<br>
&nbsp;<br>
Creates&nbsp;users&nbsp;from&nbsp;specified&nbsp;file&nbsp;in&nbsp;batchmode.&nbsp;The&nbsp;file&nbsp;is&nbsp;in&nbsp;a&nbsp;<br>
CSV&nbsp;format&nbsp;following&nbsp;this&nbsp;conventions:<br>
&nbsp;<br>
The&nbsp;file&nbsp;should&nbsp;contain&nbsp;the&nbsp;given&nbsp;name&nbsp;of&nbsp;the&nbsp;user&nbsp;and&nbsp;her&nbsp;family<br>
name&nbsp;separated&nbsp;by&nbsp;comas:<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fulano,&nbsp;Sutano<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
The&nbsp;function&nbsp;will&nbsp;assign&nbsp;a&nbsp;suitable&nbsp;username&nbsp;and&nbsp;password.&nbsp;It&nbsp;will<br>
also&nbsp;create&nbsp;a&nbsp;file&nbsp;with&nbsp;the&nbsp;account&nbsp;information.</tt></dd></dl>
 <dl><dt><a name="-createlist"><strong>createlist</strong></a>(list_name)</dt><dd><tt>Creates&nbsp;empty&nbsp;email&nbsp;list&nbsp;with&nbsp;given&nbsp;name.</tt></dd></dl>
 <dl><dt><a name="-delete"><strong>delete</strong></a>(user_name)</dt><dd><tt>Deletes&nbsp;user_name&nbsp;account.</tt></dd></dl>
 <dl><dt><a name="-deletef"><strong>deletef</strong></a>(filename)</dt><dd><tt>Delete&nbsp;users&nbsp;listed&nbsp;in&nbsp;a&nbsp;file.<br>
&nbsp;<br>
Deletes&nbsp;users&nbsp;from&nbsp;specified&nbsp;file&nbsp;in&nbsp;batchmode.&nbsp;The&nbsp;file&nbsp;should<br>
contain&nbsp;only&nbsp;the&nbsp;usernames,&nbsp;one&nbsp;per&nbsp;line:<br>
&nbsp;<br>
fulano.sutano<br>
prensejo.merlejo</tt></dd></dl>
 <dl><dt><a name="-deletelist"><strong>deletelist</strong></a>(list_name)</dt><dd><tt>Deletes&nbsp;email&nbsp;list&nbsp;with&nbsp;given&nbsp;name.</tt></dd></dl>
 <dl><dt><a name="-exist"><strong>exist</strong></a>(user_name)</dt><dd><tt>Returns&nbsp;True&nbsp;if&nbsp;user&nbsp;exists,&nbsp;False&nbsp;if&nbsp;not</tt></dd></dl>
 <dl><dt><a name="-exportlist"><strong>exportlist</strong></a>(list_name, filename<font color="#909090">='export.csv'</font>, delimiter<font color="#909090">='<font color="#c040c0">\n</font>'</font>)</dt><dd><tt>Exports&nbsp;specified&nbsp;email&nbsp;list&nbsp;member&nbsp;addresses&nbsp;to&nbsp;a&nbsp;file.&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;It&nbsp;uses&nbsp;the&nbsp;new&nbsp;line&nbsp;character&nbsp;as&nbsp;default&nbsp;('<br>
')&nbsp;which&nbsp;produces<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;file&nbsp;with&nbsp;ONE&nbsp;EMAIL&nbsp;per&nbsp;line.&nbsp;Any&nbsp;delimiter&nbsp;can&nbsp;be&nbsp;specified.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;file&nbsp;name&nbsp;is&nbsp;not&nbsp;given&nbsp;it&nbsp;defaults&nbsp;to&nbsp;'export.csv'</tt></dd></dl>
 <dl><dt><a name="-genpassword"><strong>genpassword</strong></a>()</dt><dd><tt>Password&nbsp;generator.&nbsp;<br>
&nbsp;<br>
Simple&nbsp;password&nbsp;generator&nbsp;based&nbsp;on&nbsp;code&nbsp;from&nbsp;this&nbsp;url:<br>
&nbsp;<br>
<a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473852">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473852</a><br>
&nbsp;<br>
Thanks&nbsp;to&nbsp;the&nbsp;author&nbsp;(anonymous).</tt></dd></dl>
 <dl><dt><a name="-genusername"><strong>genusername</strong></a>(given_name, family_name, generator<font color="#909090">=0</font>)</dt><dd><tt>Generates&nbsp;suitable&nbsp;usernames&nbsp;alternatives.<br>
&nbsp;<br>
For&nbsp;now&nbsp;only&nbsp;sequential&nbsp;numerical&nbsp;mutation&nbsp;supported:<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fulano.sutano3<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fulano.sutano4<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prenseja.merleja99</tt></dd></dl>
 <dl><dt><a name="-get"><strong>get</strong></a>(user_name)</dt><dd><tt>Returns&nbsp;userentry&nbsp;object&nbsp;for&nbsp;the&nbsp;specified&nbsp;user.</tt></dd></dl>
 <dl><dt><a name="-getallusers"><strong>getallusers</strong></a>()</dt><dd><tt>Retrieves&nbsp;an&nbsp;XML&nbsp;file&nbsp;with&nbsp;all&nbsp;domain&nbsp;accounts&nbsp;information.&nbsp;&nbsp;<br>
&nbsp;<br>
The&nbsp;file&nbsp;is&nbsp;named&nbsp;using&nbsp;date&nbsp;of&nbsp;creation&nbsp;<br>
and&nbsp;replaces&nbsp;the&nbsp;last&nbsp;current&nbsp;users&nbsp;file<br>
named&nbsp;'usuarios.gae'.&nbsp;&nbsp;The&nbsp;XML&nbsp;data&nbsp;corresponds&nbsp;to&nbsp;an&nbsp;UserFeed&nbsp;&nbsp;<br>
object&nbsp;containig&nbsp;an&nbsp;XML&nbsp;representation&nbsp;of&nbsp;many&nbsp;UserEntry&nbsp;objects.</tt></dd></dl>
 <dl><dt><a name="-getlist"><strong>getlist</strong></a>(list_name)</dt><dd><tt>Returns&nbsp;EmailListEntry&nbsp;object&nbsp;for&nbsp;the&nbsp;specified&nbsp;list.</tt></dd></dl>
 <dl><dt><a name="-getmemberlist"><strong>getmemberlist</strong></a>(list_name)</dt><dd><tt>Gets&nbsp;all&nbsp;members&nbsp;of&nbsp;the&nbsp;specified&nbsp;list&nbsp;in&nbsp;an&nbsp;EmailListRecipientFeed&nbsp;obect.&nbsp;<br>
&nbsp;<br>
Returns&nbsp;a&nbsp;list&nbsp;with&nbsp;user_name&nbsp;of&nbsp;members.</tt></dd></dl>
 <dl><dt><a name="-loadconf"><strong>loadconf</strong></a>(configfile)</dt><dd><tt>Reads&nbsp;configuration&nbsp;specified&nbsp;file&nbsp;and&nbsp;saves&nbsp;its&nbsp;content&nbsp;in&nbsp;a&nbsp;dictionary.<br>
&nbsp;<br>
The&nbsp;configuration&nbsp;file&nbsp;follows&nbsp;this&nbsp;format:<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variable1=value1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;variable2=value2</tt></dd></dl>
 <dl><dt><a name="-login"><strong>login</strong></a>()</dt><dd><tt>Asks&nbsp;for&nbsp;administrator's&nbsp;credentials.&nbsp;<br>
&nbsp;<br>
Creates&nbsp;object&nbsp;gdata.apps.service.AppsService().</tt></dd></dl>
 <dl><dt><a name="-printheader"><strong>printheader</strong></a>()</dt><dd><tt>Prints&nbsp;administrative&nbsp;console&nbsp;header.</tt></dd></dl>
 <dl><dt><a name="-reactivate"><strong>reactivate</strong></a>(user_name)</dt><dd><tt>Reactivates&nbsp;(restores)&nbsp;specified&nbsp;user&nbsp;after&nbsp;a&nbsp;suspension.</tt></dd></dl>
 <dl><dt><a name="-reactivatef"><strong>reactivatef</strong></a>(filename)</dt><dd><tt>Reactivates&nbsp;users&nbsp;listed&nbsp;in&nbsp;a&nbsp;file.<br>
&nbsp;<br>
Reactivates&nbsp;users&nbsp;from&nbsp;specified&nbsp;file&nbsp;in&nbsp;batchmode.&nbsp;The&nbsp;file&nbsp;should<br>
contain&nbsp;only&nbsp;the&nbsp;usernames,&nbsp;one&nbsp;per&nbsp;line:<br>
&nbsp;<br>
fulano.sutano<br>
prensejo.merlejo</tt></dd></dl>
 <dl><dt><a name="-removefromlist"><strong>removefromlist</strong></a>(user_name, list_name)</dt><dd><tt>Removes&nbsp;specified&nbsp;user&nbsp;from&nbsp;list&nbsp;list_name.</tt></dd></dl>
 <dl><dt><a name="-report"><strong>report</strong></a>(report_name, report_date<font color="#909090">=None</font>)</dt><dd><tt>Retrieves&nbsp;named&nbsp;report&nbsp;for&nbsp;date&nbsp;specified.&nbsp;<br>
&nbsp;<br>
Available&nbsp;report_names:&nbsp;<br>
'accounts','disk_space','summary','activity',&nbsp;'email_clients'<br>
&nbsp;<br>
report_date&nbsp;should&nbsp;be&nbsp;in&nbsp;the&nbsp;format&nbsp;YYYY-MM-DD<br>
&nbsp;<br>
If&nbsp;report_date&nbsp;is&nbsp;not&nbsp;specified&nbsp;it&nbsp;returns&nbsp;the&nbsp;latest&nbsp;available&nbsp;<br>
report.</tt></dd></dl>
 <dl><dt><a name="-search"><strong>search</strong></a>(criteria)</dt><dd><tt>Searches&nbsp;for&nbsp;accounts&nbsp;matching&nbsp;the&nbsp;criteria.&nbsp;<br>
&nbsp;<br>
There&nbsp;is&nbsp;no&nbsp;API&nbsp;to&nbsp;search&nbsp;for&nbsp;accounts&nbsp;in&nbsp;GAE<br>
so&nbsp;what&nbsp;this&nbsp;function&nbsp;does&nbsp;is&nbsp;search&nbsp;in&nbsp;the&nbsp;most<br>
recent&nbsp;local&nbsp;list&nbsp;generated&nbsp;by&nbsp;getaccounts()&nbsp;which<br>
is&nbsp;named&nbsp;'usuarios.gae'&nbsp;and&nbsp;retrieves&nbsp;a&nbsp;list&nbsp;of<br>
matches.<br>
&nbsp;<br>
This&nbsp;is&nbsp;my&nbsp;first&nbsp;approach&nbsp;to&nbsp;this&nbsp;task.<br>
&nbsp;<br>
Possible&nbsp;searching&nbsp;criteria&nbsp;:<br>
'suspended',&nbsp;'admin',&nbsp;'activated'<br>
&nbsp;<br>
Anything&nbsp;else&nbsp;is&nbsp;taken&nbsp;as&nbsp;a&nbsp;regular&nbsp;expression&nbsp;that&nbsp;<br>
returns&nbsp;a&nbsp;list&nbsp;of&nbsp;matching&nbsp;user_name.</tt></dd></dl>
 <dl><dt><a name="-setadmin"><strong>setadmin</strong></a>(user_name)</dt><dd><tt>Sets&nbsp;administration&nbsp;privileges&nbsp;a&nbsp;given&nbsp;user.</tt></dd></dl>
 <dl><dt><a name="-setlang"><strong>setlang</strong></a>(lang)</dt></dl>
 <dl><dt><a name="-show"><strong>show</strong></a>(user_name)</dt><dd><tt>Reports&nbsp;all&nbsp;available&nbsp;information&nbsp;from&nbsp;specified&nbsp;user.<br>
&nbsp;<br>
Receives&nbsp;_service&nbsp;object&nbsp;created&nbsp;by&nbsp;<a href="#-login">login</a>()</tt></dd></dl>
 <dl><dt><a name="-suspend"><strong>suspend</strong></a>(user_name)</dt><dd><tt>Suspends&nbsp;user_name&nbsp;account.</tt></dd></dl>
 <dl><dt><a name="-suspendf"><strong>suspendf</strong></a>(filename)</dt><dd><tt>Suspends&nbsp;users&nbsp;listed&nbsp;in&nbsp;a&nbsp;file.<br>
&nbsp;<br>
Suspends&nbsp;users&nbsp;from&nbsp;specified&nbsp;file&nbsp;in&nbsp;batchmode.&nbsp;The&nbsp;file&nbsp;should<br>
contain&nbsp;only&nbsp;the&nbsp;usernames,&nbsp;one&nbsp;per&nbsp;line:<br>
&nbsp;<br>
fulano.sutano<br>
prensejo.merlejo</tt></dd></dl>
 <dl><dt><a name="-test"><strong>test</strong></a>()</dt><dd><tt>Tests&nbsp;UPR-GAE&nbsp;configuration</tt></dd></dl>
 <dl><dt><a name="-testlogin"><strong>testlogin</strong></a>()</dt><dd><tt>Tests&nbsp;GAE&nbsp;service&nbsp;after&nbsp;login.</tt></dd></dl>
 <dl><dt><a name="-update"><strong>update</strong></a>(user_name)</dt><dd><tt>Updates&nbsp;information&nbsp;for&nbsp;specified&nbsp;user&nbsp;.</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>DEFAULT_LOCALE_DIR</strong> = './locale'<br>
<strong>FUTURE_FEATURE</strong> = 'This will be a future feature.'<br>
<strong>LANGUAGES</strong> = ['es', 'en']<br>
<strong>NAMESPACES</strong> = ['http://www.w3.org/2005/Atom', 'http://schemas.google.com/apps/2006']<br>
<strong>PASSWORD_DEFAULT_LENGTH</strong> = 8<br>
<strong>REPORTNAMES</strong> = ['accounts', 'disk_space', 'summary', 'activity', 'email_clients']<br>
<strong>USERLISTFILE</strong> = 'usuarios.gae'<br>
<strong>USERNAME_GENERATOR_ALPHARANDOM</strong> = 3<br>
<strong>USERNAME_GENERATOR_ALPHASEQUENCE</strong> = 1<br>
<strong>USERNAME_GENERATOR_NUMRANDOM</strong> = 2<br>
<strong>USERNAME_GENERATOR_NUMSEQUENCE</strong> = 0<br>
<strong>__author__</strong> = 'Edwood Ocasio'<br>
<strong>__email__</strong> = 'edwood.ocasio@gae.cayey.upr.edu'<br>
<strong>__firstreleasedate__</strong> = '13-Jul-2008'<br>
<strong>__license__</strong> = 'GPL v3.0'<br>
<strong>__maillist__</strong> = 'http://groups.google.com/group/upr-gae-console'<br>
<strong>__projecturl__</strong> = 'http://code.google.com/p/uprgae-console/'<br>
<strong>__releasedate__</strong> = '20-Jul-2008'<br>
<strong>__version__</strong> = '0.6'<br>
<strong>adminuser</strong> = ''<br>
<strong>config</strong> = {'email': '', 'lang': 'en', 'prompt': '', 'title': "&lt;This title line can be customized in file 'gaeconf'&gt;"}<br>
<strong>consoletitle</strong> = "&lt;This title line can be customized in file 'gaeconf'&gt;"<br>
<strong>domain</strong> = ''<br>
<strong>email</strong> = ''<br>
<strong>lang</strong> = 'en'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Edwood&nbsp;Ocasio</td></tr></table>
</body></html>